import IUserCenterDelAccountForm from '@/model/form/userCenter/IUserCenterDelAccountForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 账号注销
export default function userCenterDelAccountApi(
  form: IUserCenterDelAccountForm
) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IUserCenterDelAccountForm>(
    '/userCenter/delAccount',
    form
  )
}
